Revert "Changing helper method to get application path dynamically"

This reverts commit b57e802fbc5e6b430e0c08efe32733e6aec36a65.