Modified projectileMain to fix issue