Modified compilation + script for simu on time.