AAdded initial config and move function.