cleaned up a bit, made executable script as well