Added ability to set schedule duration

I added the ability to set the duration option on the IceCube creation.