production script should be working