ADDED SECURITY FIX TO DON'T RUN SCRIPTS OUT OF ENGINE