working on arg parsing

not passing arguments properly to intrinsic commands.