currentScript path for $debug mode