system check script added push_dir function, added perl functions to install dependencies, added mysql database check/create function