added script and proper plane