added new scripts

moved logic to standard scripts