fixed assignment bug in execcommand
first version of execCommand finished