Finished execute function and tested ticket creation