allow calling pushapi from any directory