Auto run implemented

change this is preferences if you wish to run normally