Move preparing options to prepere-options.js