Changed thor dependency to be more loose