- removed unused code from script