make script more PEP8 conform
add an offline variant of the submit command