Various Java Scripts