Abstracted scripts to run dir independerntly