added photo upload script