Turned into one script

Some comments added