fixed function declaration
fixed reading skel directory from the config object