initialise script fix