Add logging level regulation for Action outputs
Use os.remove instead of shutil.rmtree