fixes bug with speed to being set correctly and also allows the effect for pic to be set on the command line