add backcompat defaults, bugfix to run outside of rails