Add bash script launcher
Fix a few minor things + add debug messages