modify the script for removing pyc file