new scripts, fix directory shortcut for platform