removed all extraneous stuff from script