fixes for mac
Fixed app routes to call scripts