added cd /opt/api/3ier in case the ran scripts from another dircteory and output was misplaced