replaced static julian calc with command