modified payment script