Running scripts on request