Modified script section to change directory to inv before executing the script for testing invapp as it fails to locate the logs directory