Bug fixes setting install dir and path