Abstracted some bin script initialization