Fixed scripts to have more universal compatibility
Fixed typo in clean script