Modification of APASS Download script