migrate rwis ftp setting to database, remove hack fixes #1