bug fixes and physical sky addition