Add option to use bezier curves