using relative path for scripts
#4 fixing calculation of rotate3d degrees