run at option was working incorreclty