resized a few paths and added an option for the switch envelope