Made Ckw*exec expands environment variables
Fixed improper deletes