remove testing code from script