Refactored the launcher and fixed a bug with the run image process.