script completly done