remove unused scripts and add orientation testing