create lib/script dir and move files