let's try to make shell scripts less stupid