createBaseScript