clean shell code