add check for config file
correct array task count
check for presence of scripts from mgltools utilitities