more checks on parameters
relative paths can now be used