Made scripts more command-line friendly, fixed extension for linux, fixed linux script