changed setup to be initialized before executing commands