Added exec command for executing methods