Added basic execution loop