added presets and added parameter for python script