upload macro for the pas