update gitignore; move script tags to the bottom for effiency