Better script file for use as jarfile