added code for changing starting parameters of background events