Move scripts from pericmd