added options to change url and test