added conditional BaseURL so no longer need to edit BaseURL between dev and prod