Removed some debug code from script