Add logic for executing parser