Fixed predefined location support in script creation