config file is now searched in script's directory
fix sample usage