corrected logic to insert install/open to front