rewrite settings & add more options to provision