rename and decouple script.request from exec