move default values to phantom script
add resize feature