Fixed localhost static problem to more dynamic url