Make scripts executable
Adopted to linux host
Adopt changes to windows host