Restructure scripts
Convert line endings