Update IcarusProject.py

added options to the new while part