move scripts to lib folder where they were meant to be