Somehow fucked up the hashbang
Fixed argument check