fixes errors for #280
fixes installation bugs
Merge pull request #281 from CosmoCMS/james

James