prettied up control script