modified the sails setup