script pushes to github
refactor code