Added home directory to search path
Fixed variable name
Fixed argument count